<template>
	
	<view class="wrap" @tap="tologin" v-if="userinfo == '' ">
		<view class="avatar"><image src="../../static/icons/avatar.png" /></view>
		<view class="nickname">请登录</view>
	</view>
	
	<view class="wrap" v-else>
		<view class="avatar"><image src="../../static/icons/avatar.png" /></view>
		<view class="wrap-right">
			<view class="nickname">昵称：{{userinfo?.nickname ? userinfo.nickname :"手机用户"}}</view>
			<view class="uuid">uuid:{{userinfo?.uuid}}</view>
		</view>
	</view>
	

</template>

<script setup>

	
</script>

<style>
	
	page{
		background:#f1f1f1
	}
	
	.content{
		margin-top:10upx;
		background:#ffffff;
	}
	
	
	
	
	.wrap{
		height:240upx;
		width:100%;
		display: flex;
		text-align: center;
		align-items: center;
		background: #ffffff;
	}
	
	.avatar{
		margin:40upx;
		width: 160upx;
		heigth:160upx;
	}
	
	.avatar image{
		width:160upx;
		height:160upx;
	}
	
	.nickname{
		font-size: 28upx;
		color:#666666;
	}
	
	.wrap-right{
		text-align: left;
		flex:1;
	}
	
	.uuid{
		font-size: 24upx;
		color:#1e9fff;
		margin-top: 20upx;
	}
	
	
	
</style>
